package com.alks.entity.data.entity.dispatch;

import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ManulDispatchTreeData implements Serializable {
    private static final long serialVersionUID = -3072703193804949175L;
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String title;

    private String companyId;
    private Integer remainQty;
    private Integer qty;
    private Integer surplusQty;
    private boolean leaf;
    private String type;
    private List<ManulDispatchTreeData> children;
    private String lotNo;
    private String style;
    private String color;
    private String processCode;
    private Integer lsNo;
    private String process;
    private Integer seqNo;
    private String partName;
    private String partName0;
    private String sizeNo;
    private Integer sizeSeq;
    private boolean checked;
    private String slipNo;
    @JsonIgnore
    private Float price;

    public ManulDispatchTreeData() {
    }

    public Integer getSurplusQty() {
        return this.surplusQty;
    }

    public void setSurplusQty(Integer surplusQty) {
        this.surplusQty = surplusQty;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getRemainQty() {
        return this.remainQty;
    }

    public void setRemainQty(Integer remainQty) {
        this.remainQty = remainQty;
    }

    public Integer getQty() {
        return this.qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public String getProcessCode() {
        return this.processCode;
    }

    public void setProcessCode(String processCode) {
        this.processCode = processCode;
    }

    public Integer getLsNo() {
        return this.lsNo;
    }

    public void setLsNo(Integer lsNo) {
        this.lsNo = lsNo;
    }

    public String getProcess() {
        return this.process;
    }

    public void setProcess(String process) {
        this.process = process;
    }

    public String getPartName() {
        return this.partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getPartName0() {
        return this.partName0;
    }

    public void setPartName0(String partName0) {
        this.partName0 = partName0;
    }

    public String getSizeNo() {
        return this.sizeNo;
    }

    public void setSizeNo(String sizeNo) {
        this.sizeNo = sizeNo;
    }

    public boolean isLeaf() {
        return this.leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<ManulDispatchTreeData> getChildren() {
        if (this.children == null) {
            this.children = new ArrayList();
        }

        return this.children;
    }

    public void setChildren(List<ManulDispatchTreeData> children) {
        this.children = children;
    }

    public boolean isChecked() {
        return this.checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public Integer getSizeSeq() {
        return this.sizeSeq;
    }

    public void setSizeSeq(Integer sizeSeq) {
        this.sizeSeq = sizeSeq;
    }

    public String getLotNo() {
        return this.lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getSlipNo() {
        return this.slipNo;
    }

    public void setSlipNo(String slipNo) {
        this.slipNo = slipNo;
    }

    public String getStyle() {
        return this.style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getColor() {
        return this.color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getSeqNo() {
        return this.seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public Float getPrice() {
        return this.price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
